home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 5 / Apprentice-Release5.iso / Source Code / Libraries / Dots & Pixels / headers / noisedots.h < prev    next >
C/C++ Source or Header  |  1995-09-29  |  710b  |  30 lines

  1. #pragma once
  2. //
  3. // noisedots generates spatiotemporal noise on a screen.
  4. //
  5. class noisedots : public phaser, public screendots
  6. {
  7.     public:
  8.     
  9.         noisedots( int numbits, int xpos, int ypos,
  10.                 int aantaldots, unsigned int lifetime);
  11.         noisedots( int numbits, screen_position where,
  12.                 int aantaldots, unsigned int lifetime = 1);
  13.         
  14.         virtual void compute_addresses();
  15. };
  16.     
  17. inline noisedots::noisedots( int numbits, int xpos, int ypos,
  18.                 int aantaldots, unsigned int life)
  19.     : phaser( life)
  20.     , screendots( numbits, xpos, ypos, aantaldots)
  21. {
  22. }
  23.  
  24. inline noisedots::noisedots( int numbits, screen_position where,
  25.                 int aantaldots, unsigned int life)
  26.     : phaser( life)
  27.     , screendots( numbits, where, aantaldots)
  28. {
  29. }
  30.